<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>{$title}</title>
    <script type="text/javascript" src="__STATIC__/plugs/layui/layui.js"></script>
    <link rel="stylesheet" href="__STATIC__/computer/css/layui.css" />
    <link rel="shortcut icon" href="__STATIC__/computer/css/favicon.ico" />
    <link rel="stylesheet" type="text/css" href="__STATIC__/computer/css/animate.min.css" />
    <link rel="stylesheet" type="text/css" href="__STATIC__/computer/css/swiper.min.css" />
    <link rel="stylesheet" type="text/css" href="__STATIC__/computer/css/font-awesome.min.css" />
    <link rel="stylesheet" type="text/css" href="__STATIC__/computer/css/public-style.css" />
    <script type="text/javascript" src="__STATIC__/computer/js/default.js"></script>
    <!--vue-->
    <script type="text/javascript" src="__STATIC__/computer/js/vue.min.js"></script>
    <script type="text/javascript" src="__STATIC__/computer/js/jquery-3.3.1.min.js"></script>
</head>

<body>

<!--最顶部部分开始-->
<div class="header bg-color-black layui-hide-xs wow flipInX" data-wow-duration='1.5s' id="top">
    <div class="layui-container">
        <div class="layui-row">
            <div class="bg-color-black">
                <div class="layui-inline-left">{:sysconf('llsdingbu')}</div>
                <div class="layui-inline-right">
                    <ul class="nav-down">
                        {volist name="boot" id="vo"}
                            {if condition="$key lt 1"}
                                <li class="nav-down-item">
                                <a href="{:url($vo.link)}">{$vo.name}
                                    <i class="fa fa-angle-down"></i>
                                </a>
                                <ul class="menu-downone">
                                    {volist name="$vo.son" id="vo2"}
                                        <li class="menu-down-item">
                                            <a href="{:url($vo2.link)}">{$vo2.name}</a>
                                        </li>
                                    {/volist}
                                </ul>
                            </li>
                            {/if}
                        {/volist}
                    </ul>
                    <div style="display: inline-block;">
                        <span>{:sysconf('quanguofuwurexian')}</span>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!--最顶部部分结束-->

<!--菜单部分开始-->
<div class="layui-container">
    <div class="layui-row">
        <div class="layui-col-md4">
            <a href="{:WEB_URL}">
                {:sysconf('gongshilougou')}
            </a>
        </div>
        <div class="layui-col-md7 layui-col-md-offset1">
            <ul class="nav">
                {volist name="boot" id="vo"}
                    {if condition="$key gt 0"}
                        <li class="navitem">
                            <a href="{:url($vo.link)}" class="{if condition="$conurl eq $vo.link"}text-color-yellow{/if}">{$vo.name}</a>
                        </li>
                    {/if}
                {/volist}
                {if condition="!$Think.session.username"}
                <li class="navitem">
                    <a href="{:url('login/index')}">登录</a>
                </li>
                <li class="navitem">
                    <a class="navbtn" href="{:url('login/index')}">免费注册</a>
                </li>
                {else /}
                <li class="navitem">
                    <a class="navbtn" href="javascript:;" onclick="out()">安全退出</a>
                </li>
                {/if}

            </ul>
        </div>
    </div>
</div>
<!--菜单部分结束-->
<!--s轮播图开始-->
<div class="myswiper-container layui-text-center wow bounceInLeft" data-wow-duration='1.0s'>
    <div class="swiper-wrapper">
        {volist name="lunbo" id="vo"}
        <div class="swiper-slide layui-bg-orange">
            <img src="{$vo.imgurl}" width="100%"/>
        </div>
       {/volist}
    </div>
    <!-- Add 切换按钮 -->
    <div class="myswiper-pagination"></div>
    <!--中间内容开始-->
    <h1 class="toptitle wow zoomInDown" data-wow-duration='1.0s' data-wow-delay='0.2s'>{:sysconf('lunbotua')}</h1>
    <div class="toptitle-sm wow zoomInUp" data-wow-duration='1.0s' data-wow-delay='0.2s'>{:sysconf('lunbotub')}</div>
    <button class="toptitle-btn">咨询律师</button>
    <!--中间按钮开始-->
</div>
<!--s轮播图结束-->
<!--侧边四个按钮开始-->
<ul class="aside-right">
    <li>
        <i><img src="__STATIC__/computer/img/lls01/lls0115.png"></i>
        <div class="wait wait1">
            {:sysconf('youcedianhua')}
        </div>
    </li>
    <li>
        <i><img src="__STATIC__/computer/img/lls01/lls0116.png"></i>
        <div class="wait wait2">
            {:sysconf('weixinerweima')}
        </div>
    </li>
    <li>
        <a href="http://wpa.qq.com/msgrd?v=3&uin=958416459&site=qq&menu=yes">
            <i><img src="__STATIC__/computer/img/lls01/lls0117.png"></i>
        </a>
    </li>
   <!-- <li>
        <a href="">
            <i><img src="__STATIC__/computer/img/lls01/lls0118.png"></i>
        </a>
        <div class="wait wait4">
            呵呵
        </div>
    </li>-->
</ul>
<!--侧边四个按钮结束-->
<!--设置退出-->
<script>
    function out() {
        layui.use(['form'], function () {
            var layer = layui.layer;
            $.getJSON("{:url('/index/login/out')}",function(ret){
                if(ret.code == 0){
                    layer.msg(ret.msg);
                    setTimeout(function(){
                        location.reload();
                    },2000);
                }else{
                    layer.msg(ret.msg);
                }
            });
        })
    }

</script>
